﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Presentation.Controls
{
    public partial class fechapublicacion : System.Web.UI.UserControl
    {
        public string DateFormat { get; set; }

        protected override void OnInit(EventArgs e)
        {            
            ddlAnoMes.Items.AddRange(FechaPublicacion.getLisItem(DateFormat));
            base.OnInit(e);
        }

        protected void Page_Load(object sender, EventArgs e)
        {
        }

        public string Title
        {
            get
            {
                return Label.Text;
            }
            set
            {
                Label.Text = value;
            }
        }

        public DropDownList DdlAnoMes
        {
            get
            {
                return ddlAnoMes;
            }
            set
            {
                ddlAnoMes = value;
            }
        }
    }
}